Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.default = void 0;

var e = require("../@babel/runtime/helpers/classCallCheck"), t = require("../@babel/runtime/helpers/createClass"), r = require("../@babel/runtime/helpers/inherits"), a = require("../@babel/runtime/helpers/createSuper"), u = function(u) {
    r(o, u);
    var s = a(o);
    function o() {
        return e(this, o), s.apply(this, arguments);
    }
    return t(o, [ {
        key: "changeCarCount",
        value: function(e) {
            return this.request({
                url: "/oms/cart/changeCartByUserPlus",
                data: e,
                method: "post"
            });
        }
    }, {
        key: "detailsAddCar",
        value: function(e) {
            return this.request({
                url: "/oms/cart/changeCartByUser",
                data: e,
                method: "post"
            });
        }
    }, {
        key: "carList",
        value: function() {
            return this.request({
                url: "/oms/cart/cartInfo",
                method: "post"
            });
        }
    }, {
        key: "deleteCarGoods",
        value: function(e) {
            return this.request({
                url: "/oms/cart/clearCartList/".concat(e),
                method: "post"
            });
        }
    }, {
        key: "clearCar",
        value: function(e) {
            return this.request({
                url: "/oms/cart/deleteCart/".concat(e),
                method: "post"
            });
        }
    }, {
        key: "carCount",
        value: function() {
            return this.request({
                url: "/oms/cart/getCartNum"
            });
        }
    }, {
        key: "carPrice",
        value: function(e) {
            return this.request({
                url: "/oms/cart/cartOrderPrice",
                method: "post",
                data: e
            });
        }
    }, {
        key: "carOrder",
        value: function(e) {
            return this.request({
                url: "/oms/cart/addCartOrder",
                method: "post",
                data: e
            });
        }
    }, {
        key: "payInfo",
        value: function(e, t) {
            return this.request({
                url: "/ChinaUms/cartPay/".concat(e, "/").concat(t),
                method: "post"
            });
        }
    }, {
        key: "cancelCarOrder",
        value: function(e) {
            return this.request({
                url: "/oms/cart/cancel/".concat(e),
                method: "post"
            });
        }
    }, {
        key: "carTicket",
        value: function(e) {
            return this.request({
                url: "/oms/cart/cartCouponList",
                method: "post",
                data: e
            });
        }
    }, {
        key: "zeroBuy",
        value: function(e) {
            return this.request({
                url: "/oms/cart/cartPayByZreo/".concat(e)
            });
        }
    } ]), o;
}(require("./_http").HTTP);

exports.default = u;